package com.vrms.app.dao;

import com.vrms.app.entity.Doctor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorDao {
    List<Doctor> listPage(@Param("page")int page,
                          @Param("size")int size,
                          @Param("username")String username);

    int count(@Param("username") String username);

    int save(Doctor doctor);

    int update(Doctor doctor);

    int remove(int id);

    List<Doctor> list();
}
